Skip to content

fix(BookmarksPreviewer): Add generic previewer to previewers list - #2305

Merged
marcelklehr merged 5 commits into
masterfrom
fix/generic-url-previewer
Jul 10, 2025
Merged

fix(BookmarksPreviewer): Add generic previewer to previewers list#2305
marcelklehr merged 5 commits into
masterfrom
fix/generic-url-previewer

Conversation

@marcelklehr

Copy link
Copy Markdown
Member

No description provided.

@marcelklehr
marcelklehr requested a review from Copilot July 9, 2025 11:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new generic URL previewer into the bookmark previewing pipeline, ensuring URLs without specialized services still get a preview.

  • Adds GenericUrlBookmarkPreviewer to imports and as a constructor dependency
  • Updates constructor signature, property, and assignment for the new previewer
  • Inserts the generic previewer into the $previewers array before the default
Comments suppressed due to low confidence (2)

lib/Service/BookmarkPreviewer.php:56

  • Add a docblock @var GenericUrlBookmarkPreviewer above this property to describe its purpose and maintain consistency with other previewer properties.
	private Previewers\GenericUrlBookmarkPreviewer $genericUrlPreviewer;

lib/Service/BookmarkPreviewer.php:65

  • Update the constructor docblock to include @param GenericUrlBookmarkPreviewer $genericUrlPreviewer so the documentation matches the method signature.
	 */

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
@marcelklehr
marcelklehr force-pushed the fix/generic-url-previewer branch from 6220d31 to 5a05e12 Compare July 9, 2025 11:26
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
@marcelklehr
marcelklehr merged commit cdb07f2 into master Jul 10, 2025
61 of 72 checks passed
@marcelklehr
marcelklehr deleted the fix/generic-url-previewer branch July 10, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants